#!/bin/bash

# ***************************************************************************
# * 
# * @file:build_ormpp.sh 
# * @author:ebayboy@163.com 
# * @date:2019-11-06 11:59 
# * @version 1.0  
# * @description: Shell script 
# * @Copyright (c)  all right reserved 
#* 
#**************************************************************************/ 

function build_static()
{
	rm -rf build && mkdir build && cd build
	cmake ../ || exit 1
	make || exit 1
	cd -
}

build_static;

g++ -o test test.cpp -lormpp -lmysqlclient -L./build/  -I./include

